package com;

import com.Tokiu.Dao.Resources;
import com.Tokiu.Dao.ResourcesService;
import com.Tokiu.config.SpringConfirguration;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class App4 {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(SpringConfirguration.class);

        ResourcesService bean =context.getBean(ResourcesService.class);

        boolean root_ = bean.check("http://localhost/8080;", "root ");

        System.out.println(root_);

        context.close();

    }
}
